package com.ohos.carbon.slice;

import com.ohos.carbon.ResourceTable;
import ohos.aafwk.ability.AbilitySlice;
import ohos.aafwk.content.Intent;

import java.util.HashMap;
import java.util.Map;


public class MyDemoAbilitySlice extends AbilitySlice {

    public static Map<String, Integer> all = new HashMap<>();

    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setUIContent(ResourceTable.Layout_ability_main);
        present(new MainAbilitySlice(), intent);
    }

}
